class Date {
    public int year;
    public int month;
    public int day;


    public void setDate(int year,int month,int day) {
        this.year = year;
        this.month = month;
        this.day = day;
    }
    public void printDate() {
        System.out.println(year+"年"+month+"月"+day+"日");
    }

    public Date() {
        this.year = 2024;
        this.month = 7;
        this.day = 22;
    }
    public Date(int year,int month,int day) {
        System.out.println(year+"年"+ month+"月"+day+"日");
    }
}
